const express = require('express');
// 使用router
const router = express.Router();
// 引入controller 
const CtrUser = require('../../controllers/background/CtrUser');

// 首屏数据
router.get('/admin/client', CtrUser.client);
// 分页
router.get('/admin/client/showData', CtrUser.showData);
// 删除
router.get('/admin/client/delete', CtrUser.delete);
// 回显
router.get('/admin/client/find', CtrUser.find)
// 修改
router.post('/admin/client/update', CtrUser.update);

// 暴露路由
module.exports = router;